package org.ahuanlien.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class ClientDevelop extends BaseClientDomain {


    //无等级
    public static final Integer RESULT_LEVEL_ZERO = 0;

    //等级差
    public static final Integer RESULT_LEVEL_ONE = 1;

    //等级中
    public static final Integer RESULT_LEVEL_TWO = 2;

    //等级优
    public static final Integer RESULT_LEVEL_THREE = 3;

    //执行结果
    private Integer result = RESULT_LEVEL_ZERO;

    //计划时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operateDate;

    //主题计划
    private String project;

    //实施方式
    private Dictionary method;

    //详情
    private String particular;

    //备注
    private String remark;

    //客户状态
    private Integer state;

    //客户id
    private Long clientId;
}
